package tracking;

public class LTEConstants {
	public static final int STATUS_OK = 0;
	public static final int STATUS_FAIL = -1;
	public static final int STATUS_ERROR_CONNECT_DATABASE = 1;
	public static final int STATUS_ERROR_ERROR_PARAMETER = 2;
	public static final int STATUS_ERROR_TYPE = 3;
	
	public static final int TYPE_0 = 0;
	public static final int TYPE_DAY = 1;
	public static final int TYPE_MONTH = 2;
	public static final int TYPE_YEAR = 3;
	
	public static final int TYPE_DAY_TO_DAY = 4;
	public static final int TYPE_LAST_MONTH = 5;
	
	 // SimpleDateFormat can be used to control the date/time display format:
    //   E (day of week): 3E or fewer (in text xxx), >3E (in full text)
    //   M (month): M (in number), MM (in number with leading zero)
    //              3M: (in text xxx), >3M: (in full text full)
    //   h (hour): h, hh (with leading zero)
    //   m (minute)
    //   s (second)
    //   a (AM/PM)
    //   H (hour in 0 to 23)
    //   z (time zone)
	
	public static final String DATEFORMAT = "yyyy-MM-dd(E)HH:mm";
	
	public static final String DATEFORMAT2 = "yyyy-MM-dd HH:mm:ss";
	
	public static final int ARRANGE_YES = 0;
	public static final int ARRANGE_NO = 1;
}
